﻿@model blacksoft.Models.DocumentoPago
@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_LayoutCompras.cshtml";
}



<div class="block big">
    <div class="titlebar">
        <h3>Modificar Documento de Pago</h3>
    </div>
    <div class="block_cont">
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()

            <div class="form">
                @Html.ValidationSummary(true)
                @Html.HiddenFor(model => model.IDDocumentoPago)


                <div class="form-row">
                    @Html.LabelFor(model => model.IDOrdenCompra, new { @class = "control-label col-md-2" })
                    @Html.TextBoxFor(model => model.IDOrdenCompra, new { @class = "text-box single-line", @readonly = "readonly", @disabled = "disabled" })
                    @Html.HiddenFor(model => model.IDOrdenCompra)
                    @Html.ValidationMessageFor(model => model.IDOrdenCompra)
                </div>



                <div class="form-row">
                    @Html.LabelFor(model => model.Estado)
                    @Html.DropDownList("Estado", null, "Elegir", new {@class ="select" })
                    @Html.ValidationMessageFor(model => model.Estado)
                   
                </div>

                    @*<div class="form-group">
                        @Html.LabelFor(model => model.FechaPago, new { @class = "control-label col-md-2" })
                        @Html.EditorFor(model => model.FechaPago)
                            @Html.ValidationMessageFor(model => model.FechaPago)
                       
                    </div>*@



                <div class="form-row">
                    @Html.LabelFor(model => model.FechaLimite, new { @class = "control-label col-md-2" })
                    @Html.TextBoxFor(model => model.FechaLimite, new { @class = "text-box single-line", @readonly = "readonly", @disabled = "disabled" })
                    @Html.HiddenFor(model => model.FechaLimite)
                    @Html.ValidationMessageFor(model => model.FechaLimite)

                </div>

                <div class="form-row">
                    @Html.LabelFor(model => model.NroFactura, new { @class = "control-label col-md-2" })
                    @Html.TextBoxFor(model => model.NroFactura, new { @class = "text-box single-line", @readonly = "readonly", @disabled = "disabled" })
                    @Html.HiddenFor(model => model.NroFactura)
                    @Html.ValidationMessageFor(model => model.NroFactura)

                </div>
                 <br />

                    <div class="form-group">
                        <input type="submit" value="Guardar" class="btn btn-default" />
                        <br />
                        @Html.ActionLink("Regresar al listado", "Index")
                        </div>
                    </div>

        }
    </div>
</div>
